package com.stadium.mapper;

import com.stadium.entity.GameTeam;
import com.stadium.dto.GameTeamDto;
import com.stadium.entity.TeamRecord;
import com.stadium.vo.GameTeamVo;
import com.stadium.vo.searchVo.SearchVo;
import com.stadium.vo.searchVo.SearchVo;
import com.stadium.vo.searchVo.GameTeamSearchVo;

import java.util.List;

/**
 * 球队详情
 *
 * @author wsl
 * @email
 * @date 2021-05-04 09:39:09
 */
public interface GameTeamMP {
    void save(GameTeam gameTeam);

    void saveBatch(List<GameTeam> list);

    void delete(String id);

    void deleteBatch(String[] ids);

    void update(GameTeam gameTeam);

    List<GameTeamDto> query(GameTeamSearchVo searchVo);

    GameTeamDto get(String id);

    int getCount(GameTeamSearchVo searchVo);

    int getMaxNumber();

    List<GameTeamDto> queryByPlayerUserId(GameTeamSearchVo gameTeamSearchVo);

    TeamRecord teamRecorg(String teamId);

    TeamRecord palyerRecorg(String userId);
}
